import {http} from '@/utils/http'

// 添加文章评论
export function addArticleComment(data:any) {
    return http.post<any>('/admin/articleComment/addArticleComment', data)
}

// 修改文章评论
export function updateArticleComment(data:any) {
    return http.post<any>('/admin/articleComment/updateArticleComment', data)
}

// 删除文章评论
export function deleteArticleComment(id:string) {
    return http.post<any>('/admin/articleComment/deleteArticleComment/'+id)
}

// 获取文章评论详情
export function getArticleComment(id:any) {
    return http.post<any>('/admin/articleComment/getArticleComment/'+id)
}

// 获取文章评论分页列表
export function getArticleCommentPage(data:any) {
    return http.post<any>('/admin/articleComment/getArticleCommentPage', data)
}





















